package br.com.servlet.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class NavigationController 
{
	@RequestMapping("/index")
	public String index( )
	{
		return "index";
	}
	
	@RequestMapping("/steam-manager")
	public String steamManager( )
	{
		return "steam/steam-manager";
	}
	
	@RequestMapping("/nuuvem-manager")
	public String nuuvemManager( )
	{
		return "nuuvem/nuuvem-manager";
	}
	
	@RequestMapping("/cartola-manager")
	public String cartolaManager( )
	{
		return "cartola/cartola-manager";
	}
	
	@RequestMapping("/robots-manager")
	public String robotsManager( )
	{
		return "robots-manager";
	}
	
	@RequestMapping("/robot-customizado")
	public String robotCustomizado( )
	{
		return "robot/robot";
	}
	
	@RequestMapping("/base-manager")
	public String baseManager( )
	{
		return "base/manager";
	}
	
	@RequestMapping("/agendamento")
	public String agendamento( Model model )
	{
		//TODO: voltar com o getcontainer em robot list 
		//model.addAttribute( "listaRobos", RobotList.getContainer( ).getLista( ) );
		
		return "agendamento";
	}
}